import http from '../../index'

// 用户登录
const login = (params: Login.LoginReqForm) => {
  return http.post<Login.LoginResData>('admin/v1/login/v1', params);
}

// 用户登出
const loginOut = () => {
  return http.post('admin/v1/login/out/v1');
}
export { login, loginOut }